﻿using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.MES.DataAccess.Entity
{
    /// <summary>
    /// IV本地数据格式配置
    /// </summary>
    [Table(nameof(IVLocalData))]
    public class IVLocalData : BaseEntity
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public int MachineId { get; set; }

        /// <summary>
        /// SQL
        /// </summary>
        public string Sql { get; set; }
    }

    public partial class MESContext
    {
        public virtual DbSet<IVLocalData> IVLocalDatas { get; set; }
    }
}
